//
//  HomeViewController.m
//  MenkNav
//
//  Created by Burn on 2019/6/13.
//  Copyright © 2019 menksoft. All rights reserved.
//

#import "HomeViewController.h"
#import "InsadeViewController.h"
@interface HomeViewController ()

@end

@implementation HomeViewController
- (void)viewDidLoad{
    [super viewDidLoad];
    self.view.backgroundColor = [UIColor orangeColor];
    
    
}


-(void)touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event{
    InsadeViewController *vc = [[InsadeViewController alloc]init];
    [self.navigationController pushViewController:vc animated:YES];
}



- (UIColor *)mk_navigationBackGroundColor:(MenkNavnigationBar *)navigationBar{
    return [UIColor orangeColor];
}

- (CGFloat)mk_navigationHeight:(MenkNavnigationBar *)navigationBar{
    return 88;
}

- (UIColor *)mk_navigationLineColor:(MenkNavnigationBar *)navigationBar{
    return [[UIColor redColor] colorWithAlphaComponent:0.4];
}

- (BOOL)mk_navigationHidden:(MenkNavnigationBar *)navigationBar{
    return NO;
}

- (BOOL)mk_navigationBottomLine:(MenkNavnigationBar *)navigationBar{
    return YES;
}

- (UIView *)mk_navigationBarRight:(MenkNavnigationBar *)navigationBar{
    return [[NavigationBarElement alloc]initWithRight];
}

//- (UIView *)mk_navigationBarMid:(MenkNavnigationBar *)navigationBar{
//
//    return [[NavigationBarElement alloc]initWithTitle:@" \n \n"];
//}

- (UIView *)mk_navigationBarMid:(MenkNavnigationBar *)navigationBar{
    
    return [[NavigationBarElement alloc]initWithSearch];
}


@end
